/*
 * Copyright (C) 2017 Pingan, Inc. All Rights Reserved.
 */

package com.pingan.haofang.searchcloud.web.project.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 项目通知
 *
 * @author zhangbi617
 * @date 2017-10-31
 */
@ApiModel(description = "项目通知请求")
public class ProjectNotifyForm {

    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id", required = true)
    @NotNull
    private Long projectId;

    /**
     * 通知的邮件地址
     */
    @ApiModelProperty(value = "要通知的邮件地址", required = true)
    private List<String> notifyEmails;

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public List<String> getNotifyEmails() {
        return notifyEmails;
    }

    public void setNotifyEmails(List<String> notifyEmails) {
        this.notifyEmails = notifyEmails;
    }

    @Override
    public String toString() {
        return "ProjectNotifyForm{" +
                "projectId=" + projectId +
                ", notifyEmails=" + notifyEmails +
                '}';
    }
}
